package com.example.pay.mapper;

import com.example.pay.domain.PayBook;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: Wu YunXia
 * @Description:
 * @Date: Created in 11:24 2020/12/3
 * @Modefied By:
 */
@Mapper
public interface PayMapper {
    /**
     * @Date 11:42 2020/12/3
     * @desc: 添加
     */
    int addPay(String openId, List<PayBook> list);


    /**
    * @Date 14:16 2020/12/4
    * @desc: 根据日期查询
    */
    List<PayBook> queryForDate(String date);


    /**
    * @Date 15:11 2020/12/3
    * @desc: 查询
    */
    List<PayBook> selectAll();
}

